package first.group.ssh.packet.writer;

import java.nio.ByteBuffer;
import java.nio.charset.StandardCharsets;

public class BooleanWriter {
    public static void writeBoolean(ByteBuffer buffer, boolean value) {
        buffer.put((byte) (value ? 1 : 0));
    }
}
